luci-mod-network: restrict peerdns option to protocols that implemenent it
authorJo-Philipp Wich <[email protected]>
Tue, 15 Nov 2022 00:44:28 +0000 (01:44 +0100)
committerJo-Philipp Wich <[email protected]>
Mon, 3 Apr 2023 11:45:03 +0000 (13:45 +0200)
commite1779aeaa7a463dde93b31297de3462a54d07ade
treef7268fbb2c78126e9a56c4bb511c84b9d02b4415
parentab6ad70702836350e2be9e1b19fc90bca1fb64c4
luci-mod-network: restrict peerdns option to protocols that implemenent it

Only some supported protocol extensions honour the `peerdns` options.

Fixes: #6093
Signed-off-by: Jo-Philipp Wich <[email protected]>
(cherry picked from commit 2be01cbfcb34746d9713173a60c3f8a69c554a68)
modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js